package ie.timalb.chess.main.core.pieces;

import ie.timalb.chess.main.core.movement.types.TypesOfMovement;

public abstract class Piece 
{
	Color color;
	TypesOfMovement typesOfMovement;
		
	public enum Color
	{
		BLACK, WHITE, UNDEFINED
	}	
	
	public Piece(Color color)
	{
		typesOfMovement = new TypesOfMovement ();
		setColor (color);
	}

	public Color getColor() {
		return color;
	}

	private void setColor(Color color) {
		this.color = color;
	}

	protected void setTypesOfMovement(TypesOfMovement typesOfMovement) {
		this.typesOfMovement = typesOfMovement;
	}

	public TypesOfMovement getTypesOfMovement() {
		return typesOfMovement;
	}
	
	public abstract boolean isFirstRowPiece ();

	public String getName() {
		return "";
	}
}
